/**
 * 后台视图层用户权限model，用于与前端交互并屏蔽不需要公布的数据
 * @Author : jackson wang
 * @Date   : 2015年6月8日 下午4:18:01
 * @version: 1.0
 */
package org.brisling.vdomain.sysman;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class VPermission implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8026151935308812037L;

	private Long id;
	
	private Long parentid;
	
	private String name;
	
	private String pageUrl;
	
	private String bizcode;
	
	public String getBizcode() {
		return bizcode;
	}

	public void setBizcode(String bizcode) {
		this.bizcode = bizcode;
	}

	private String iconcls;
	
	private List<VPermission> child = new ArrayList<VPermission>();
	
	public VPermission(){}
	
	public VPermission(Long id,Long parentid,String name,String url,String icons,String bizcode){
		this.id = id;
		this.parentid = parentid;
		this.name = name;
		this.pageUrl = url;
		this.iconcls = icons;
		this.bizcode = bizcode;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getParentid() {
		return parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}
	
	

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public String getIconcls() {
		return iconcls;
	}

	public void setIconcls(String iconcls) {
		this.iconcls = iconcls;
	}

	public List<VPermission> getChild() {
		return child;
	}

	public void setChild(List<VPermission> child) {
		this.child = child;
	}
	
	

}
